package com.example.rzprogram;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.Window;
import android.widget.Button;

import com.example.base.BaseActivity;
import com.lidroid.xutils.ViewUtils;
import com.lidroid.xutils.view.annotation.ViewInject;
import com.lidroid.xutils.view.annotation.event.OnClick;

public class MessageActivity extends BaseActivity {
	@ViewInject(R.id.btn_menu)
	private Button menu;
	@ViewInject(R.id.btn_percenter)
	private Button percenter;
	

	@Override
	protected void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		requestWindowFeature(Window.FEATURE_NO_TITLE);
		setContentView(R.layout.activity_msg);
		ViewUtils.inject(this);
	}
	@OnClick({ R.id.btn_menu, R.id.btn_percenter})
	public void onCliecks(View v) {
		switch (v.getId()) {
		case R.id.btn_menu:
			//菜单
			break;
		case R.id.btn_percenter:
			 Intent intent = new Intent(MessageActivity.this,
					 MainActivity.class);
			 startActivity(intent);
			break;

		}
	}

}
